package com.danbay.cloud.common;

import com.danbay.framework.redis.config.EnableRedis;
import com.danbay.framework.springnc.EnableNoController;
import com.danbay.framework.swagger.EnableResourceServerWithSwagger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


/**
 * @author SJG
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableCircuitBreaker
@EnableNoController
@EnableRedis
@EnableResourceServerWithSwagger
@EnableSwagger2
public class CommonServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(CommonServiceApplication.class, args);
    }

}